package com.imc.platform.demo.myexecption;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class MyException extends RuntimeException {
    private Object code;

    public MyException(String message, Object code) {
        super(message);
        this.code=code;
    }
}
